projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aecfdd
)
arm: Tegra: fix undefined instruction hang immediately after reset
author
Tom Warren
<
[email protected]
>
Tue, 6 Dec 2011 13:00:19 +0000
(13:00 +0000)
committer
Wolfgang Denk
<
[email protected]
>
Wed, 21 Dec 2011 19:36:22 +0000
(20:36 +0100)
commit
0d479b53
(Aneesh V) added code for OMAP4 that doesn't
execute on Tegra, due to the AVP (ARM7TDI) not having a CP15.
Result was an undefined instruction hang just after reset.
Signed-off-by: Tom Warren <
[email protected]
>
Cc: Albert Aribaud <
[email protected]
>
Cc: Tom Rini <
[email protected]
>
Acked-by: Aneesh V <
[email protected]
>
arch/arm/cpu/armv7/start.S
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/start.S
b/arch/arm/cpu/armv7/start.S
index 6a77c71e1d75ccfe83c4176b47b10116c43f5581..ef08a55abc2c6189062c9d87c36d5d042139017c 100644
(file)
--- a/
arch/arm/cpu/armv7/start.S
+++ b/
arch/arm/cpu/armv7/start.S
@@
-132,6
+132,7
@@
reset:
orr r0, r0, #0xd3
msr cpsr,r0
+#if !defined(CONFIG_TEGRA2)
/*
* Setup vector:
* (OMAP4 spl TEXT_BASE is not 32 byte aligned.
@@
-147,6
+148,7
@@
reset:
ldr r0, =_start
mcr p15, 0, r0, c12, c0, 0 @Set VBAR
#endif
+#endif /* !Tegra2 */
/* the mask ROM code should have PLL and others stable */
#ifndef CONFIG_SKIP_LOWLEVEL_INIT